]> dgit.raspbian.org Git - gnome-shell.git/commit
Use StartupWMClass to associate window and applications
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 6 Apr 2012 18:02:04 +0000 (20:02 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 7 Aug 2013 10:17:42 +0000 (12:17 +0200)
commitdb75734774e97f735b9d5da36ef04c7fa043b26d
tree0421c929e293ce4a1faae283850561dd52897b52
parent137cbbd141ee9e6e8fa635d1800930e12578ed12
Use StartupWMClass to associate window and applications

Some applications (such as most Java apps, as well as Chrome Web apps) ship
with desktop files that have the wrong name, but whose StartupWMClass
field contains the right value. Therefore first check that key, against
both the class and instance part of WM_CLASS, and only use the filename
if nothing else works.

https://bugzilla.gnome.org/show_bug.cgi?id=673657
src/shell-app-system.c
src/shell-app-system.h
src/shell-window-tracker.c